package com.filldream.fastboot.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.filldream.fastboot.base.entity.Role;
import com.filldream.fastboot.base.request.pc.role.RoleListSTO;
import com.filldream.fastboot.base.request.pc.roleMenu.SetRoleMenuSTO;
import com.filldream.fastboot.common.entity.B;
import com.filldream.fastboot.common.entity.P;

/**
 * @author RickSun && iFillDream
 * @version 1.0
 * @data 2020-05-07 17:38
 * @description CarService
 */
public interface RoleService extends IService<Role> {

    P<Role> queryPageList(RoleListSTO roleListSTO);

    B setRoleMenu(SetRoleMenuSTO setRoleMenuSTO);

    B delRole(Long id);

    B modify(Role role);

}
